package org.jeecg.modules.demo.st.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;

/**
 * @Description: 处分记录
 * @Author: jeecg-boot
 * @Date:   2020-01-02
 * @Version: V1.0
 */
@Data
@TableName("st_punish")
public class StPunish implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    private String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    private String createBy;
	/**创建日期*/
	@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    private String updateBy;
	/**更新日期*/
	@Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    private String sysOrgCode;
	/**学生姓名*/
	@Excel(name = "学生姓名", width = 15)
    private String stName;
	/**处分*/
	@Excel(name = "处分", width = 15)
    private String punish;
	/**处分日期*/
	@Excel(name = "处分日期", width = 15)
    private String punishmentTime;
	/**登记人*/
	@Dict(dictTable="sys_user",dicCode = "id",dicText = "realname")
	@Excel(name = "登记人", width = 15)
    private String registerPerson;
	/**审批人*/
	@Excel(name = "审批人", width = 15)
    private String approver;
	/**处分原因*/
	@Excel(name = "处分原因", width = 15)
    private String theReason;
	/**额外字段1*/
	@Excel(name = "额外字段1", width = 15)
    private String fieldOne;
	/**额外字段2*/
	@Excel(name = "额外字段2", width = 15)
    private String fieldTwo;
	/**标识*/
	@Excel(name = "标识", width = 15)
    private String deleted;
}
